package com.xpec.c4.game.datamanager;

/**
 * 
 * @author yangbingyan
 *
 */
public interface ResultNo {

	/**
	 * 無(默認值, 沒做過任何設定等)
	 */
	public final static int NONE = 0;
	
	/**
	 * 成功
	 */
	public final static int OK = 1;
	
	/**
	 * 失敗
	 */
	public final static int FAILED = 2;	
	
	/**
	 * 拒絕操作
	 */
	public final static int ACCESS_DENY = 3;
	
	/**
	 * 沒有數據
	 */
	public final static int DATA_NOT_FOUND = 4;	
	
	/**
	 * DB操作失敗
	 */
	public final static int DB_OPERATION_FAILED = 5;
	
	/**
	 * 數據重複
	 */
	public final static int DATA_DUPLICATE = 6;
	
	/**
	 * 數據處理中 (被其他流程處理中所以拒絕存取)
	 */
	public final static int DATA_INPROCESSING = 7;
	
	/**
	 * 未完成, 處理中
	 */
	public final static int PENDING = 100;

	
	
}
